import request from '@/utils/request'
// 注册时上传用户头像
export const uploads = (data) => {
  return request({
    url: '/uploads',
    method: 'post',
    data
  })
}
// 获取验证码
export const sendsms = (data) => {
  return request({
    url: '/sendsms',
    method: 'post',
    data
  })
}
// 注册
export const register = (data) => {
  return request({
    url: '/register',
    method: 'post',
    data
  })
}
